package com.dkm.biz.ou.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:user Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-07-31 20:21:00
 */
 @ITable(name="zmzUser",code="user")
public class ZmzUserTbl extends AbstractPo<String>{
	 protected String id;
	@IField(name="id",column="id")
	protected Long  zmzId; 		/*id*/
	@IField(name="loginAccount",column="login_account")
	protected String  loginAccount; 		/*登录账号*/
	@IField(name="password",column="password")
	protected String  password; 		/*登录密码，MD5加密*/
	@IField(name="headPhoto",column="head_photo")
	protected String  headPhoto; 		/*头像*/
	@IField(name="nickName",column="nick_name")
	protected String  nickName; 		/*昵称*/
	@IField(name="realName",column="real_name")
	protected String  realName; 		/*真实姓名*/
	@IField(name="sex",column="sex")
	protected Short  sex; 		/*姓别,1:男，2：女*/
	@IField(name="birthday",column="birthday")
	protected java.util.Date  birthday; 		/*生日*/
	@IField(name="area",column="area")
	protected String  area; 		/*所在地区*/
	@IField(name="promoCode",column="promo_code")
	protected String  promoCode; 		/*推荐码*/
	@IField(name="status",column="status")
	protected Short  status; 		/*用户状态，1：正常，0：冻结*/
	@IField(name="registerTime",column="register_time")
	protected java.util.Date  registerTime; 		/*注册时间*/
	@IField(name="updateTime",column="update_time")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="lastLoginTime",column="last_login_time")
	protected java.util.Date  lastLoginTime; 		/*上一次登录时间*/
	@IField(name="loginIp",column="login_ip")
	protected String  loginIp; 		/*登录ip*/
	@IField(name="loginTimes",column="login_times")
	protected Integer  loginTimes; 		/*登录次数*/
	@IField(name="registerType",column="register_type")
	protected Short  registerType; 		/*注册方式，1：手机号，2：微信，3：QQ,4:微博*/
	@IField(name="authed",column="authed")
	protected Short  authed; 		/*是否已认证，1：已认证，0：未认证*/
	@IField(name="role",column="role")
	protected Short  role; 		/*角色，1：消费者，2：商家*/
	@IField(name="phone",column="phone")
	protected String  phone; 		/*手机号*/
	@IField(name="idCardNo",column="id_card_no")
	protected String  idCardNo; 		/*身份证号码*/
	@IField(name="rcToken",column="rc_token")
	protected String  rcToken; 		/*rc_token*/
	@IField(name="inviteCount",column="invite_count")
	protected Integer  inviteCount; 		/*邀请人数*/
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Long getZmzId() {
		return zmzId;
	}
	public void setZmzId(Long zmzId) {
		this.zmzId = zmzId;
	}
	public void setLoginAccount(String loginAccount) 
	{
		this.loginAccount = loginAccount;
	}
	/**
	 * 返回 登录账号
	 * @return
	 */
	public String getLoginAccount() 
	{
		return this.loginAccount;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}
	/**
	 * 返回 登录密码，MD5加密
	 * @return
	 */
	public String getPassword() 
	{
		return this.password;
	}
	public void setHeadPhoto(String headPhoto) 
	{
		this.headPhoto = headPhoto;
	}
	/**
	 * 返回 头像
	 * @return
	 */
	public String getHeadPhoto() 
	{
		return this.headPhoto;
	}
	public void setNickName(String nickName) 
	{
		this.nickName = nickName;
	}
	/**
	 * 返回 昵称
	 * @return
	 */
	public String getNickName() 
	{
		return this.nickName;
	}
	public void setRealName(String realName) 
	{
		this.realName = realName;
	}
	/**
	 * 返回 真实姓名
	 * @return
	 */
	public String getRealName() 
	{
		return this.realName;
	}
	public void setSex(Short sex) 
	{
		this.sex = sex;
	}
	/**
	 * 返回 姓别,1:男，2：女
	 * @return
	 */
	public Short getSex() 
	{
		return this.sex;
	}
	public void setBirthday(java.util.Date birthday) 
	{
		this.birthday = birthday;
	}
	/**
	 * 返回 生日
	 * @return
	 */
	public java.util.Date getBirthday() 
	{
		return this.birthday;
	}
	public void setArea(String area) 
	{
		this.area = area;
	}
	/**
	 * 返回 所在地区
	 * @return
	 */
	public String getArea() 
	{
		return this.area;
	}
	public void setPromoCode(String promoCode) 
	{
		this.promoCode = promoCode;
	}
	/**
	 * 返回 推荐码
	 * @return
	 */
	public String getPromoCode() 
	{
		return this.promoCode;
	}
	public void setStatus(Short status) 
	{
		this.status = status;
	}
	/**
	 * 返回 用户状态，1：正常，0：冻结
	 * @return
	 */
	public Short getStatus() 
	{
		return this.status;
	}
	public void setRegisterTime(java.util.Date registerTime) 
	{
		this.registerTime = registerTime;
	}
	/**
	 * 返回 注册时间
	 * @return
	 */
	public java.util.Date getRegisterTime() 
	{
		return this.registerTime;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	public void setLastLoginTime(java.util.Date lastLoginTime) 
	{
		this.lastLoginTime = lastLoginTime;
	}
	/**
	 * 返回 上一次登录时间
	 * @return
	 */
	public java.util.Date getLastLoginTime() 
	{
		return this.lastLoginTime;
	}
	public void setLoginIp(String loginIp) 
	{
		this.loginIp = loginIp;
	}
	/**
	 * 返回 登录ip
	 * @return
	 */
	public String getLoginIp() 
	{
		return this.loginIp;
	}
	public void setLoginTimes(Integer loginTimes) 
	{
		this.loginTimes = loginTimes;
	}
	/**
	 * 返回 登录次数
	 * @return
	 */
	public Integer getLoginTimes() 
	{
		return this.loginTimes;
	}
	public void setRegisterType(Short registerType) 
	{
		this.registerType = registerType;
	}
	/**
	 * 返回 注册方式，1：手机号，2：微信，3：QQ,4:微博
	 * @return
	 */
	public Short getRegisterType() 
	{
		return this.registerType;
	}
	public void setAuthed(Short authed) 
	{
		this.authed = authed;
	}
	/**
	 * 返回 是否已认证，1：已认证，0：未认证
	 * @return
	 */
	public Short getAuthed() 
	{
		return this.authed;
	}
	public void setRole(Short role) 
	{
		this.role = role;
	}
	/**
	 * 返回 角色，1：消费者，2：商家
	 * @return
	 */
	public Short getRole() 
	{
		return this.role;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}
	/**
	 * 返回 手机号
	 * @return
	 */
	public String getPhone() 
	{
		return this.phone;
	}
	public void setIdCardNo(String idCardNo) 
	{
		this.idCardNo = idCardNo;
	}
	/**
	 * 返回 身份证号码
	 * @return
	 */
	public String getIdCardNo() 
	{
		return this.idCardNo;
	}
	public void setRcToken(String rcToken) 
	{
		this.rcToken = rcToken;
	}
	/**
	 * 返回 rc_token
	 * @return
	 */
	public String getRcToken() 
	{
		return this.rcToken;
	}
	public void setInviteCount(Integer inviteCount) 
	{
		this.inviteCount = inviteCount;
	}
	/**
	 * 返回 邀请人数
	 * @return
	 */
	public Integer getInviteCount() 
	{
		return this.inviteCount;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("loginAccount", this.loginAccount) 
		.append("password", this.password) 
		.append("headPhoto", this.headPhoto) 
		.append("nickName", this.nickName) 
		.append("realName", this.realName) 
		.append("sex", this.sex) 
		.append("birthday", this.birthday) 
		.append("area", this.area) 
		.append("promoCode", this.promoCode) 
		.append("status", this.status) 
		.append("registerTime", this.registerTime) 
		.append("updateTime", this.updateTime) 
		.append("lastLoginTime", this.lastLoginTime) 
		.append("loginIp", this.loginIp) 
		.append("loginTimes", this.loginTimes) 
		.append("registerType", this.registerType) 
		.append("authed", this.authed) 
		.append("role", this.role) 
		.append("phone", this.phone) 
		.append("idCardNo", this.idCardNo) 
		.append("rcToken", this.rcToken) 
		.append("inviteCount", this.inviteCount) 
		.toString();
	}
}